package com.weiiew.buildservice;

import com.example.feignapi.client.ItemClient;
import com.example.feignapi.client.RecipeClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {
        "com.weiiew.common",    // 公共模块包
        "com.weiiew.buildservice"
})
@EnableFeignClients(clients = {ItemClient.class, RecipeClient.class})
public class BuildServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(BuildServiceApplication.class, args);
    }

}
